package io.renren.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

/**
 * 用户升级账户表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("xls_upgrade_account")
public class XlsUpgradeAccountEntity extends ApiBaseEntity {
	private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
	private Long userId;
    /**
     * 累计购买金额
     */
	private BigDecimal totalCash;
    /**
     * 累加金额（升级后清零）
     */
	private BigDecimal accCash;
}